Finalized Persec file
Added test() and modified get_score().