final class submission

Class project, final version of the functions