Simplifier version of Leer.py

This also adds tests :)
Merge pull request #1 from elpargo/master

Simplifier version of Leer.py