Finished exercises to 'pithify' existing code.