created level setup function to read levels from text files