Fixes previous_ocur
Created by: ducks
removes extra if and updating the x var based on position of previous occurrence
Fixes #46 (closed)
Created by: ducks
removes extra if and updating the x var based on position of previous occurrence
Fixes #46 (closed)