Implemention of pixel drawing in PHP and working example of drawing