Created RPS Program added test function