Added Mazin's solution
Merge pull request #544 from muzfuz/patch-12

Added Mazin's solution