Hide and Seek- a naive factoring algorithm