Finished book - Code not in working state, used for reference of parts