exersise of Lecture Number Systems