Queen-attack exercise | 2nd iteration