my solution to the second thumbtack coding challenge