Out of bound error fixed
Finished and tested getting factor chances