add base Interface for Coder/Decoder class
and magic squaer