Added working solution.
Added working solution.