code dump for practical exercises in Zed Shaw's 'Learn C The Hard Way'