Add pattern class with basic pattern matching
Add function to test equality between two objects