Added arrays to keep track of shapes translation and implemented it in
the first rotation method