the two assignments from intro to programming 1