classification pseudo code