A molecular dynamics simulation study on trapping ions in a nanoscale Paul trap