cleaned the code from whitespaces using rubocop, closed #5