Redo Lab2 into class structure from Frl.