beginning programming assignment 1