changes to programming assignment 1