added .idea in gitignore
fixed result print errors