Fix syntax issues with RuboCop

Make instance method build_list private

Fix syntax issues with Rubocop
Merge pull request #1 from kofronpi/rubocop-fixes

Fix syntax issues with RuboCop