Switched to for loops, check why assertion fails
Refer to README for this sample project documentation.