Setting parameters in constructor
Default structure
Moved variable setting -> constructor
Default structure
Moved variable setting -> constructor
Default structure
Deleted for - will be used through while
Reconstructed while,if,return methods according to the default statement
structure