gui added and RSA implemented