sorted for loops in algorithm; still needs work
added to algorithm; implemented difficulty levels