Through intellij I was able to run the code without any errors and I got an exact replica of the result required by CodeGym yet I get the following errors.