Added .gitignore. Made getsize function in backup
cp should be compatible with BSD. du should be compatible with BSD. I may change getsize function.