prototyped getting process info

moved functions above main so they would be defined properly.  Wrote
function to get process info.  Began expanding process code to narrow
down process to top process based on cpu usage.