Decreased size of for loop in king.cpp

New for loop should work for new enum class of Direction if needed.
Reverted the change to spacing