add rotation functionality and color for each block