polished solution 1 from horrible grammer
Merge branch 'master' of https://github.com/czepluch/MiL