Update main.c

Began to implement conversion of decimals to fractions