Added Score method

Fixed some bugs