Update main.lua

This function is for Corona SDK to be used for any game/app that uses parallax scrolling. This to populate screen with level objects using a table which stores the level description.