https://videosashka.com/watch/cbHMQxOuIUw/javascript-algorithms-9-prime-number