fixed getPixel, started try rolling hash
Combined Cung's and VuAnh's work