Contributing my solution

Hi, just contributing my solution to all the others. Thanks!