QRisk implementation

Added QRisk algorithm