refactored, placeholder for floyd-steinberg, started tests