added solution for problem #1 to the report