def load_recent
    return if Page.visited.include?(0)

    html = open("https://projecteuler.net/recent")
    fragment = Nokogiri::HTML(html)

    problem_links = fragment.css('#problems_table td a')

    i = Problem.total
    problem_links.each do |link|
      Problem[i].title = link.text
      i -= 1
    end

    Page.visited << 0
  end
def load_recent
    return if Page.visited.include?(0)

    html = open("https://projecteuler.net/recent")
    fragment = Nokogiri::HTML(html)

    problem_links = fragment.css('#problems_table td a')

    i = Problem.total
    problem_links.each do |link|
      Problem[i].title = link.text
      i -= 1
    end

    Page.visited << 0
  end
Loads in all of the problem numbers and titles from the recent page.