[refactor] abstracted out the transition generation code in transition: to _createTransitionString. There was much fanfare and celebration among the people of laserLand