Lab 1 first commit

commit of what I have so far. Still need to improve two of the
functions and finish the last function