updating Lab 1 Ruby Class