added src files

Use a range based for loop here

Also, consider putting spaces after 'for' and before {

for (...) {

It will look much cleaner. A good clang-format setup will help you with that.