implemented delete operation
added truncate; changed source code level from c99 to gnu99