Added rudimentary pawn and castle movement and refactored build function by spliting it into smaller pieces
adding function comments