added if statements to the code. As of right now the only case that works is single case if's modifiying the same varible. The next step is to work on if statemetns that change different varibles. if(true) change x else change y. This should not be too difficlut.