Simple exercise demonstrating programming concepts