homework#3 for Geekhub courses