add pattern class and associated tests, to be used in pattern inference module of system
remove whitespace
remove unnecessary requirement of set