Hey this is my implemetation

Please Read the comments and let me know if you have any questions