Circle detector detects clockwise and counterclockwise rotation every quater, and executes something