Added conditionals to prune down pawn movements