fixed git ignore, deleted backup and fixed malloc