Problem solving behaviour of adults and adolescents : a comparative study