Created the interface for a confusion matrix
Adding a thread-safe implementation for a confusion matrix