Finished working on homework №7