Implemented all required methods / test cases for Bloxorz solution.