Made Code More Efficient

And made it so that knight is invincible at the moment