optimized prime searching and added more labs