submitting programming assignment 2