created and tested programming assignment 2
created and tested programming assignment 2