Code for my intro to programming class