My solutions to some exercises in Spraul's "Think Like a Programmer"