Bug fixes and a for loop added
Bug fixes and a for loop added as well as a new lib called 'basic.ern'