title: How to simplify a fraction
body: <p>I want to simplify a fraction in my application. The fraction is like,
  x/y where x and y are integers.
  I want to simplify the fraction to its simplest form. 
  Can anyone please give me hints how to do it.
  Thanks in advance.</p>