Finding the winning strategy on the Grundy’s game

Draw the game tree for Grundy’s game: Two players have in front of them a single pile of objects say stack of 9 pennies . The first players divides the stack in to two unequal pile , second player does the same until all piles of two or one object left . The player who plays last is a winner. Work out the winning strategy on it.