Finished parts 1 -3 of hw0