number_of_patterns = 4 0 0 15 0 90 0 1 0 0 1 90 15 1 180 0 2 0 0 2 180 15 2 270 0 3 0 0 3 270 15