Playing around in C to build a basic ATM