Self-Pulsing Nanobeam Photonic Crystal Laser