Changed the main file to accept the '-P num' arguments and run the proper function -- still need to change the functions for 2 and 5