Working fine except for at upper limits. Will fix later. Next priority is signal handling on all processes