Python task manager program from terminal