added readline function
Merge branch 'master' of https://github.com/jvlomax/inf-2401