Added Object oriented version of RPS