My first attempt at learning to program