Fixed project3

Still needs to be tested/ syntax checked. Fixed some stuff to make it more compatible with the current topics of the class.