Introduction to programming homework