Add old code from working through K&R