Added method to convert a single character to a direction, using it now.