* Fixed wrong else condition
* Simplified creating Set of numbers
* Deleted unused imports
* Replaced 'for' loop with 'foreach' one
* Replaced explicit type with diamond
* Removed unnecesary brackets from lambda
* Removed unnecesary contains check before adding element to Set
* Fixed typo and changed non-english constant names