HackerRank submissions. WARNING: these could get pretty messy depending on if I'm in the mood for code golf