SOS is working, started ranking algo

rankings algo has been structured, needs code