Please find attached all files necessary for the exam. This includes the problem statement, background information, and all code associated with the exam. Your main goals are to fill out the table in the problem statement and to modify the code to make it run as efficiently as possible. You will find that running the code for certain levels of the problem statement table will take an unreasonably long time to wait for the output.
You are free to modify the code however you see fit.