update to decimal to binary and added factorial