Removed print_direction method; removed unnecessary parentheses.