Adding Solutions
Minor changes to variables and assignment