Update beer.c

add another function div with bitwise