Alter factory to account for multiple rows. Start to figure out flipping of neigboring pieces.