pixel_to_braille function

Convert pixel coordinates to Braille cell and dot position