all pieces have a class

the Rook class has a working isLegalMove method!

null pointer exeptions managede through a controlled initiation of arrays.