Update PositionSnapshot.java

Filled the body of method add(PositionSnapshot positionSnapshot)