Solution for variation of "Eight queens puzzle"