Flash cards app in ruby