Function Score Query

Added function score query and its score functions.