calculate positions of the possible knight attacks