Lab1 - Finished code for low-level classes