changed data length of left, right, order to 11 and refactored code
closed #26