Small set of code i wrote for an Interview. I liked it so i cleaned it up!