created scoring algorithm file