Fixed spelling error
Optimized algorithms
Renamed file
Added modifiers
Optimized algorithm