added solution found online that does not exceed the time limit
[WEEK 2] Submitted to COL