Update indexfunctions.php

Added randomizer to page with 0 random books on load change the number when your database has enough books.