added solution for the first challenge