Implemented random level generator