completed programming assignment #2
small edit to completed programming assignment #2