Ruby assignment 1