added functions to save and load levels.working on level editor now.