CPU completely occupied by strange programs with person names Anyone knows why this happens and how to resolve it?
they show up out of nowhere and stay until I kill each manually.
some of these names change to something new too.
I thought this might be because I left the root access open so I closed it later..
Immediately disconnect from the Internet!

A possibly compromised system should not remain connected to a network or the Internet so as to stop any possible data breach! Even if a data breach has already occurred, the first step is to disconnect as a step to mitigate damages. 
Power down the system and boot it from an external source that is outfitted with the tools to examine the infected disk and take appropriate action. 
Run a malware scanner on your computer as malware process names are often randomised from a list. One of these should give you some indication of whether anything is wrong from a malware point of view:


Malwarebytes for Mac
Sophos for Mac
Avast