[Finished #62363592 #62363508 #62363636] Implemented setPad funstion to set class variables for before, inside,
and after pad.