calculates coordinates of dots in braille character