Submit (2) working .pl files that demonstrate  the cases above with code comments and test cases.
                                                                                        Last Revised: January 21, 2018