AI uses artificial sleep to learn new task without forgetting the last