the 4th homework for my software lesson