King jump functionality added
Comments added for memory allocation