Added isDiagonal method to Direction