Adding test in core
Added some methods
modifed code for TrapSquare
added addpiece method for pieceonlocation
Added TrapSquare in default board
Adding impl