create_pixel() now returns struct instead of pointer
Updated create_pixel() definition
Made compatibility with new create_pixel()