First square can be chosen in $16$ ways then leaving out the squares in the row and column of the square chosen, we are left with $9$ squares, then the second square can be chosen in $9$ ways. Similarly, $3^{rd}$ square can be chosen in $4$ ways . So there are $16\times 9\times 4$ ways. But we don't want the arrangement among the squares then the required answer is $\frac{16\times 9\times 4}{3!}=96$