placing my solution in the file