Limit number programs to 5. Use sample()