added lookup table for sliding pieces around