Numerical Investigation of Dynamic Behavior of Piles