Update link to external libraries.
Remove debug statement.
Refactor apple consumption.
Don't hardcode constants.'
Disallow 180 degree direction change.