Update README.md

Instead of using the manual accumulation like you used and having to manually add them to a list with the .append() method, you can simply use list comprehension like I did above!
Merge pull request #2 from ndaigneau22/patch-2

Update README.md