minimum functioning restaurant bill program for class example