final homework.

Got two funcs done, strugging with size