small ruby problems for practise