added a new function classification which takes
1. Dictionary 2. Test samples 3. Class information as input
and gives classification information as output.