CSC 335 2nd programming assignment