Added method for 5 arguments.

Finished the method for analyzing results in a given range and type.
I also integrated a cal to the method in main.