Added classes for Coding Matrix class