add direction processing and exceptions

add directions processing and exceptions for monster movement