Division using just bit operations