homework 1

full 100% working