My-MIT-18.S191 My attempt at solving the homework of MIT's Introduction to Computational Thinking course