detect fucntion added
some changes
drawDots working
move area works fine
move dots works fine
some fixes
ref #4 max_side works fine
ref #4 min_side works fine
ref #4 max and min sides are optional
merge