Five Programming Problems

Inspired by rexim