Some code for challenges on hacker.org