Initial commit of nearly complete solution to cactus' code challenge