Starting manasa and stones solution
Works but too slow
Used editorial pseudocode as basis to realize pascals triangle