Code complete. Snake behaves oddly.