add cpu() built-in function

remove old os.smp_processor_id() function