changed hashcode of white and balck to 000000000 and 255255255 from 0 and 1