Bluewolf Interview Question

Second assignment was pretty hard to implement.