lesson1 dev
added:
exceptions handling
correcting -1 to 0-1
bug fixes