A preliminary course in analysis