small error in decimal2binary method