initialize sem. 1 with system("cpu")+2
manually handle semaphores at calls of waitfirst()
do not use a child process in addcores()
renamed:    semaphore.lib -> tasks.lib
introduce newstruct 'task'