refactored position and image hash into one called PIECE_INITIALIZATION