Introduction to measure theory and functional analysis