Fix bug

Change int to unsigned long to prevent issues.
Add code to change direction if no ball is found

Add code to change direction if no ball is found for a set amount of
time.