Worst code I've written, the specs for the assignment are extremely dumb and it doesn't really test the knowledge of either data structures nor algorithms.