development exercise 1, div and mod