Did project; need to check work

Also need to add comments. As of now, it should work.