ryu variables

added variables for faster performance and coded in the first 2 states