Terminating and Non-terminating Repeating Decimals