Completed Lab 3 and 4 with Validation and Exception Handling