finished assignment 1 requirements. everything works, i think