Simple C program for bankers algorithm