finished Ruby day 2 and day 3 exercises